Published Jan 29, 2020 by Alex C-G
Here are a few more of my shell aliases for anyone who’s interested. This is a follow-up to my shell clipboard aliases post.
alias ls='exa'
alias ll='ls -l'
alias la='ls -a'
alias l='ls'
I use bat instead of cat or less. It provides syntax highlighting and better Markdown support
alias cat='bat'
alias less='bat'
Most files have a default opener. This command just opens them with that program.
alias o='xdg-open'
Adds syntax highlighting to grep
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
I should probably switch these over to ripgrep since it’s recursive and much faster.
I’ve recently switched to Neovim instead of Vim for my editing needs.
alias vi='nvim'
alias vim='nvim'
Prettifies the mount output into columns
alias mount='mount | column -t'